//
//  UITableView+NoData.h
//  EduOnLine
//
//  Created by Mac on 2019/11/14.
//  Copyright © 2019 eduonline. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, NoDataType) {
    NoData,
    NoNetWork,
    hasData
};

typedef void(^BtnActionBlock)(void);

@interface UITableView (NoData)

@property (nonatomic ,copy ) BtnActionBlock actionBlock;

- (void)setNoDataType:(NoDataType)type typeDes:(NSString *)des;

- (void)setNoDataType:(NoDataType)type typeDes:(NSString *)des block:(BtnActionBlock)block;

@end

NS_ASSUME_NONNULL_END
